home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-01-18 | 2.7 KB | 74 lines | [TEXT/ttxt] |
- #MacHTTP Configuration file, v. 1.2.3
-
- #The format of this file is free form, with a few exceptions. Lines not
- #starting with a keyword are ignored. There can only be 10 total suffix
- #definitions (i.e., TEXT, BINARY, and SCRIPT commands). Also, security
- #entries (ALLOW, DENY) are evaluated in the order specified in the config file.
- #Note, all entries are converted to upper case by MacHTTP, so the config file isn't
- #case sensitive.
-
- #The following line defines the default file type if a suffix match isn't found.
- DEFAULT TEXT
-
- #These lines define the suffix file type mappings.
- #There is a maximum of 20 suffix definitions. Supplying less than
- #this will cause MacHTTP to use internal defaults for the undefined remainder.
- TEXT .HTML
- BINARY .GIF
- SCRIPT .SCRIPT
- APPL .EXE
- BINARY .PICT
- BINARY .BIN
- TEXT .TEXT
- TEXT .TXT
- BINARY .JPG
- BINARY .JPEG
- BINARY .MOV
- BINARY .MOOV
-
- #The following lines specify where to find HTML files for error messages, the
- #default home (or index) page, the name of the log file, and the message
- #returned for security violations.
- ERROR :Error.html
- INDEX :Default.html
- LOG :MacHTTP.log
- NOACCESS :NoAccess.html
-
- #Sets the timeout for inactive connections to 60 seconds
- TIMEOUT 60
-
- #Sets the max number of simultaneous users to 8.
- #The minimum value is 3, the maximum is 1000 (!!!)
- #For larger values, you should monitor memory usage and increase
- #MacHTTP's memory allocation in the Finder accordingly.
- MAXUSERS 8
-
- #Sets the number of "listens" MacHTTP performs simultaneously. For
- #busy servers with clients that report "Unable to connect" errors,
- #this number should be increased. If the "Listening" statistic in
- #the status window ever drops to 1, some clients may miss connecting.
- #Default is 5, minimum is 3, maximum is 50.
- MAXLISTENS 3
-
- #A single copy of MacHTTP only listens on a single port for multiple
- #connections. The HTTP standard port is 80. Users may define any port
- #they'd like to listen on, but internet standards say that ports
- #numbered 1024 and below are reserved for "Well known services" that
- #are pre-defined. That means if you change MacHTTP's port from 80,
- #you should pick a number greater than 1024 to avoid conflicting with
- #things like telnet, gopher, ftp, nfs, pop, etc. that all have ports
- #assigned below 1024.
- PORT 80
-
- #Configure access permissions. There is an implied "DENY *" that is evaluated
- #prior to any user security specifications if present. Otherwise, the default is
- #"ALLOW *". End complete host IP addresses with a "." for an exact match. Otherwise
- #a statement like "ALLOW 129.106.3" would match hosts 129.106.30.*, 129.106.31.*,
- #129.106.32.*, etc.
- #ALLOW 129.106.3.
- #DENY 129.106.3.1.
-
- #If the following line is uncommented, MacHTTP will hide the status window when
- # it is in the background.
- #HIDEWINDOW
-